package com.fuyv.action;

import com.fuyv.model.Role;
import com.fuyv.dao.RoleDao;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public class RoleAction extends ActionSupport implements ModelDriven<Role>{

	private static final long serialVersionUID = -4887362812434935867L;
	private Role role = new Role();
	private RoleDao roleDao;
	
	public RoleDao getRoleDao() {
		return roleDao;
	}
	public void setRoleDao(RoleDao roleDao) {
		this.roleDao = roleDao;
	}




	@Override
	public Role getModel() {
		return role;
	}
	
	

}
